package com.lgx.common.exception;

import org.apache.log4j.Logger;


/**
 * 
 * 
 * @author acer
 *
 */
public class DataException extends Exception {
	
	protected Logger log = Logger.getLogger(this.getClass());

	/**
	 * 
	 */
	private static final long serialVersionUID = 5199312281443905086L;
	
	public DataException() {
		super();
	}

	public DataException(String message, Throwable throwable) {
		super(message, throwable);
		log.error("[DataException]:"+message);
	}

	public DataException(String message) {
		super(message);
	}

	public DataException(Throwable throwable) {
		super(throwable);
	}

	
}
